﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AnimationExample.aspx.cs" Inherits="examples_AnimationExample" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="HHM.RIAnimation" Namespace="HHM.RIAnimation" TagPrefix="hhm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Animation Example</title>
</head>
<body>
    <url:form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div>
            <asp:UpdatePanel ID="uplAnimation" runat="server">
                <ContentTemplate>
                    <asp:Panel ID="PnlAnimation" runat="server">
                        <asp:Image ID="ImgIcon" runat="server" ImageUrl="~/upload/IconRIAnimation256.png" AlternateText="" />
                    </asp:Panel>
                    <asp:Button ID="BtnAnimation" runat="server" Text="Animate" />
                    <hhm:RIAnimator ID="RIAnimation" runat="server" TriggerControlID="BtnAnimation" TargetControlID="PnlAnimation" TriggerEvent="Click" AutoPostBack="false" Animation="Bounce">
                    </hhm:RIAnimator>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </url:form>
</body>
</html>
